package com.smedi.ismedi.authoritymanagement.api.dto.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.List;

/**
 * @Author: xulinjun
 * @Date: 2021-7-13 19:42
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "元素 返参")
public class ElementResponse {

    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 类型
     */
    @ApiModelProperty(value = "类型")
    private String type;

    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    private String name;

    /**
     * 编码
     */
    @ApiModelProperty(value = "编码")
    private String code;

    /**
     * 显示顺序
     */
    @ApiModelProperty(value = "显示顺序")
    private Long displayOrder;

    /**
     * 是否初始化（无条件默认显示该元素）
     */
    @ApiModelProperty(value = "是否初始化（无条件默认显示该元素）")
    private Boolean initial;

    /**
     * 父id
     */
    @ApiModelProperty(value = "父id")
    private Long parentId;
}
